package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_union_hua_ben_ping_jia", desc = "商会话本评价日志", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionHuaBenPingJia extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "商会", isIndex = true)
    private String unionUid;

    @FieldTypeAnnotation(desc = "周id")
    private int weekId;

    @FieldTypeAnnotation(desc = "玩家ID")
    private long userId;

    @FieldTypeAnnotation(desc = "难度")
    private int degree;

    @FieldTypeAnnotation(desc = "开启时间")
    private int openTime;

    @FieldTypeAnnotation(desc = "结束时间")
    private int passTime;

    @FieldTypeAnnotation(desc = "评价")
    private int pingJia;

    public LogUnionHuaBenPingJia(String unionUid, int weekId, long userId, int degree, int openTime, int passTime, int pingJia) {
        this.unionUid = unionUid;
        this.weekId = weekId;
        this.userId = userId;
        this.degree = degree;
        this.openTime = openTime;
        this.passTime = passTime;
        this.pingJia = pingJia;
    }

    public long getUserId() {
        return userId;
    }

}
